home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 20
/
Cream of the Crop 20 (Terry Blount) (1996).iso
/
os2
/
kzipv0_9.zip
/
install.cmd
next >
Wrap
OS/2 REXX Batch file
|
1996-06-26
|
988b
|
36 lines
/* ---------------------------------------------------------------------------------
* K.A.Ash (c) June 17th 1996
*
* install script for KZipper
* --------------------------------------------------------------------------------- */
signal on halt name SignalHandler /* Exception handler */
call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
call SysLoadFuncs
FileName = SysSearchPath('PATH', 'KZipper.exe')
if FileName = '' then
do
say 'Error: Cannot find KZipper.exe in PATH directories.'
exit
end
rc= SysCreateObject('WPProgram',,
'KZipper', '<WP_DESKTOP>',,
'TITLE=KZipper;OBJECTID=<KZipper>;STARTUPDIR='directory()';ASSOCFILTER=*.ZIP;ASSOCTYPE=Zip Archive;EXENAME='FileName ,,
'u' )
if rc=0 then
say "Sorry, couldn't create the KZipper program object"
else do
say "KZipper successfully installed"
end
exit
SignalHandler:
call SysCls
say "error - exiting..."
exit